<?php
/**
 * @OA\Post(
 *  path="/Auth/add",
 *  tags={"登录"},
 *  summary="登录",
 *  description="登录",
 *  @OA\RequestBody(
 *      @OA\MediaType(
 *          mediaType="multipart/form-data",
 *          @OA\Schema(
 *              @OA\Property(description="username", property="username", type="string", default=""),
 *              @OA\Property(description="所属上级", property="parent_id", type="integer", default=""),
 *              @OA\Property(description="所属模块", property="module", type="string", default=""),
 *              @OA\Property(description="url", property="url", type="string", default=""),
 *              @OA\Property(description="url标志", property="code", type="string", default=""),
 *              @OA\Property(description="权限类型", property="type", type="string", default=""),
 *              @OA\Property(description="图标", property="icon", type="string", default=""),
 *              @OA\Property(description="状态：0-禁用1-启用", property="status", type="string", default="1"),
 *              required={"name","parent_id","module","url","code","type"}
 *          ),
 *       )
 *     ),
 *     @OA\Response(response="200", description="request success"),
 *     @OA\Response(response="406", description="详见具体返回错误"),
 *     @OA\Response(response="500", description="request error"),
 * )
 */

/**
 * @OA\Put(
 *      path="/Auth/edit",
 *      tags={"菜单管理"},
 *      summary="菜单编辑",
 *      description="菜单编辑",
 *       @OA\Parameter(name="Access-Token", in="header", description="授权access-token", @OA\Schema(type="string", default="")),
 *      @OA\RequestBody(
 *          @OA\MediaType(
 *              mediaType="multipart/form-data",
                 @OA\Schema(
 *                  @OA\Property(description="菜单名称", property="name", type="string", default=""),
 *              @OA\Property(description="所属上级", property="parent_id", type="integer", default=""),
 *              @OA\Property(description="所属模块", property="module", type="string", default=""),
 *              @OA\Property(description="url", property="url", type="string", default=""),
 *              @OA\Property(description="url标志", property="code", type="string", default=""),
 *              @OA\Property(description="权限类型", property="type", type="string", default=""),
 *              @OA\Property(description="图标", property="icon", type="string", default=""),
 *              @OA\Property(description="状态：0-禁用1-启用", property="status", type="string", default="1"),
 *              required={"name","parent_id","module","url","code","type"}
 *              )
 *          )
 *      ),
 *      @OA\Response(response="200", description="request success"),
 *     @OA\Response(response="406", description="详见具体返回错误"),
 *     @OA\Response(response="500", description="request error"),
 * )
 */







